﻿Crazy250.BigType = "User";
Crazy250.SmallType = "Farm";
Crazy250.InitRes = function() {
    $("#HeadUL li").click(function() {
        var bt = $(this).attr("bigtype");
        if (bt != Crazy250.BigType) {
            Crazy250.BigType = bt;
            Crazy250.SmallType = "Farm";
        }
    });
    $("#LeftUL li").click(function() {
        var st = $(this).attr("smalltype");
        if (st != Crazy250.SmallType) {
            Crazy250.SmallType = st;
        }
    });
    Crazy250.QueryRes();
}
Crazy250.QueryRes = function() {
    var QueryInfo = new Array();
    QueryInfo.push({ "Key": "Method", "Value": "QueryRes" });
    QueryInfo.push({ "Key": "BigType", "Value": Crazy250.BigType });
    QueryInfo.push({ "Key": "SmallType", "Value": Crazy250.SmallType });
    var result = Crazy250.Ajax(QueryInfo);
    if (result.ResultCode == "0") {
    }

}